package resources
{
	import flash.display.Bitmap;
	import flash.display.DisplayObject;
	import flash.utils.Dictionary;
	
	public class Resource {
		public var profile:Dictionary = new Dictionary;
		public var bg:Dictionary = new Dictionary;
		
		public function getProfile(id:Object, emotion:int):DisplayObject {
			var oRg:Bitmap = profile[id][emotion] as Bitmap;
			var bmp:Bitmap = new Bitmap(oRg.bitmapData);
			return bmp;
		}
		
		public function getBackground(id:Object):DisplayObject {
			return bg[id];
		}
	}
	

}